/*
 * Created on Aug 6, 2005
 *
 */
package aima.learning.statistics;

public class SigmoidActivationFunction implements ActivationFunction {

	public double activation(double parameter) {
		
		return Math.tanh(parameter);
	}

	public double deriv(double parameter) {
		return 1.0 - (parameter*parameter);
	}

}
